package com.itbupt.infrastructure.persistent.dao;

import com.itbupt.infrastructure.persistent.po.RuleTreeNode;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author dingchang
 * @Date 2025/3/26 23:00
 * @Description: 规则树节点表DAO
 */

@Mapper
public interface IRuleTreeNodeDao {

    /**
     * 获取规则树节点信息列表
     * @param treeId 规则树ID
     * @return list
     */
    List<RuleTreeNode> queryRuleTreeNodeListByTreeId(String treeId);

    /**
     * 获取规则树节点信息列表
     * @param treeIds
     * @return
     */
    List<RuleTreeNode> queryRuleLocks(String[] treeIds);

}
